package com.yidu.BusinessParament.service;

import com.yidu.BusinessParament.entity.Plate;
import com.yidu.BusinessParament.entity.Security;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 证券信息service
 * @author :yimeng
 * @date :2022/12/5  16:25
 * @description:some description
 */
@Service
public interface SecurityService {
    //普通查询语句
    List<Security> selectSecurity(Map map);

    //查询总行数
    int countSecurity(Security security);

    //分页查询语句
    List<Security> limitSecurity(int page, int limit, Security security);


    //添加证券信息
    int insertSecurity(Security security);

    //修改证券信息
    int updateSecurity(Security security);

    //根据证券编号进行单个删除
    int deleteSecurity(String securityId);

    //批量删除
    int deleteMoreSecurity(String securityId);

}
